@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "../assets/fonts/pangmenzhengdao.css";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

// label {
//   // font-weight: 700;
// }
.clearfix::before,.clearfix::after{
  content:'';
  display: table;//不占位置
  clear:both;
}
html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
// .app-container {
//   padding: 20px;
// }
.app-content{
  padding: 20px;
}
.form {
  .title {
    font-size: 18px;
    color: black;
    padding: 10px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 10px;
  }
}
// 取消外下边距
// .box-margin-bottom-none {
//   .el-form-item {
//     margin-bottom: 10px;
//   }
// }
//  表格表头加底色
.el-table__header-wrapper {
  table {
    thead {
      tr {
        th {
          background-color: #fafafa !important;
        }
      }
    }
  }
}
.el-dialog {
  border-radius: 5px;
  overflow: hidden;
  box-sizing: 0.2 02 01 01;
  box-shadow: 3px 3px 3px rgb(0 0 0 / 20%);

  .el-dialog__header {
    .el-dialog__title {
      font-size: 15px;
    }
    .el-dialog__headerbtn {
      top: 10px;
    }
    padding: 10px 10px 10px;
    background-color: #f2f2f2;
  }
  .el-dialog__footer {
    padding: 10px 10px 10px;
    text-align: right;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .el-dialog__body {
    margin: 0 5px;
    padding: 10px 10px;
    color: #606266;
    font-size: 14px;
    word-break: break-all;
    border: 1px solid #f2f2f2;
  }
}

// 卡片
.never {
  .el-card__header {
    padding: 10px 10px;
    border-bottom: 1px solid #ebeef5;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .el-card__body {
    padding: 5px;
  }
}
